import cv2
import numpy as np
img1=cv2.imread(r"D:\Project\Project37\Project37\tupian\map1.jpg")
img2=cv2.imread(r"D:\Project\Project37\Project37\tupian\map2.jpg")
img1=cv2.resize(img1,(640,480))
img2=cv2.resize(img2,(640,480))
img3=np.hstack((img1,img2))
cv2.imshow('input',img3)
cv2.waitKey(0)